﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/_BackEnd_Index.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="ProjectWebBanHang.GUI.Admin.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="box span12">
                            <div class="box-header" data-original-title="">
                                <h2><i class="icon-user"></i><span class="break"></span>Members</h2>
                                <div class="box-icon">
                                    <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                                    <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                                    <a href="#" class="btn-close"><i class="icon-remove"></i></a>
                                </div>
                            </div>
                            <div class="box-content">
                                <table class="table table-striped table-bordered bootstrap-datatable datatable">
                                    <thead>
                                        <tr>
                                            <th>Email</th>
                                            <th>Ngày đăng kí</th>
                                            <th>Quyền</th>
                                            <th>Trạng thái</th>
                                            <th>Thao tác</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <asp:Repeater ID="rpQLUser" runat="server" OnItemCommand="rpQLUser_ItemCommand" OnItemDataBound="rpQLUser_ItemDataBound" >
                                            <ItemTemplate>
                                                <tr>
                                                    <td><%#Eval("Email") %></td>
                                                    <td class="center"><%#Eval("NgayDangKi") %></td>
                                                    <td class="center">
                                                        <asp:Label ID="lbStatusEnable" class="label label-success" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"MaPQ") %>'></asp:Label>
                                                        <asp:Label ID="lbStatusDisable" class="label label-important" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"MaPQ") %>'></asp:Label>
                                                        <asp:Label ID="lbStatusPendding" class="label label-warning" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"MaPQ") %>'></asp:Label>
                                                    </td>
                                                    <td class="center">
                                                       <asp:Label ID="lbStatusActive" class="label label-success" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"TrangThai") %>'></asp:Label>
                                                        <asp:Label ID="lbStatusDelivery" class="label label-important" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"TrangThai") %>'></asp:Label>
                                                        
                                                    </td>
                                                    <td class="center">
                                                        <asp:Button ID="btnShowDetail" class="btn btn-info" runat="server" CommandName="UserDetail" CommandArgument='<%#Eval("ID") %>' Text="Xem chi tiết" />
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
                            </div>
                        </div><!--/span-->
</asp:Content>
